<?php
/*
Description: This file is used to change login paassword.
*/
#########IncludeFiles####################################################################################
include_once '../inc/config.php';
include_once("../inc/bootstrape.php");
require_once _SITE_PATH_.'classes/Vendor/Vendor.php';
require_once _SITE_PATH_.'classes/Wedding/Wedding.php';
require_once _SITE_PATH_.'classes/CommonUtility/CommonUtility.php';

//    CHANGE PASSWORD    CODE    //           
if( $_POST['submit']=='Submit')
{    
    $parms['title'] = $_POST['title'];
    $parms['description'] = $_POST['description'];
    $parms['added'] = date('Y-m-d');
    if( CommonUtility::insertData($parms, 'wedding_slab_master')) {        
        header("Location: wedding_slab_mng.php?msg=1048");            
        exit;
    }
    $err = 1049;    
}

//    END CHANGE PASSWORD CODE    //
$errMsg = $err;
$_tplName = 'wedding/wedding_slab_add.tpl';
$_title = 'Add Wedding Slab';
require_once _ADMIN_TPL_MAIN_;
?>